#!/usr/bin/env python 
#-*- coding:utf-8 -*-
count = 0
for i in range(0,100):
    if i % 3 == 0:
        count += 1
print("100内能被3乘除的数有%d"%count)
count = 0
for i in range(0,100):
    if (i-3)%10 == 0:
        count += 1
print("100内位数为3的数有%d"%count)
for i in range(1,100):
    if i % 3 == 0  and (i - 3) % 10 == 0:
        print("%d是尾数即是3，又能被3整除的数"%i)

